import Mock from 'mockjs';
import indexData from './index.json'
// 首页数据
Mock.mock("/",{code:200,data:indexData});
// 用户登录
Mock.mock("/mock/login",{code:200,data:'登录成功'});